From: Vladimir Petko Date: Thu, 24 Sep 2026 07:52:19 +0000 (+1200) Subject: disable tests requiring FileStore X-Git-Tag: archive/raspbian/25.0.5_7ea-1+rpi1~14 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0cce90ea6bf297d8368ec2f4b5b579c53c5e55fe;p=openjdk-25.git disable tests requiring FileStore Bug: https://bugs.openjdk.org/browse/JDK-8166162 Forwarded: not-needed FileStore tests fail in container infrastructure due to JDK-8166162. This patch disables individual test cases requiring FileStore. The patch is not needed upstream as the bug only occurs in specific container configuration. Gbp-Pq: Name test-empty-path.patch --- diff --git a/test/jdk/java/io/File/EmptyPath.java b/test/jdk/java/io/File/EmptyPath.java index 374a69c79..f1a75493a 100644 --- a/test/jdk/java/io/File/EmptyPath.java +++ b/test/jdk/java/io/File/EmptyPath.java @@ -140,7 +140,6 @@ public class EmptyPath { } } - @Test public void getFreeSpace() throws IOException { FileStore fs = Files.getFileStore(f.toPath()); checkSpace(fs.getUnallocatedSpace(), f.getFreeSpace()); @@ -166,13 +165,11 @@ public class EmptyPath { assertEquals(p.toString(), f.getPath()); } - @Test public void getTotalSpace() throws IOException { FileStore fs = Files.getFileStore(f.toPath()); checkSpace(fs.getTotalSpace(), f.getTotalSpace()); } - @Test public void getUsableSpace() throws IOException { FileStore fs = Files.getFileStore(f.toPath()); checkSpace(fs.getUsableSpace(), f.getUsableSpace());